package com.liang.blog.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author：YanWenLiang
 * @Date:2023-09-08-20:31
 */
public interface BlogFileService {
    String uploadAvatar(MultipartFile file);

    String uploadFileImg(MultipartFile file);

    String uploadLocal(MultipartFile file, String folder);

    void getFiles(String folder, String file,  HttpServletResponse response);

    void deleteAvatar(String fileName);
}
